<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">

    <title>SMART SWITCH demo</title>

    <style>
      html {
        font-family: sans-serif;
      }

      body {
        width: 50%;
        max-width: 800px;
        min-width: 480px;
        margin: 0 auto;
      }

      .lastResult {
        color: white;
        padding: 3px;
      }
    </style>
  </head>

  <body>
    <h1>智能开关 v0.1</h1>

    <p>这是一个可以通过web页面控制远程电源开关的demo程序，当前Demo版本v0.1</p>

    <div class="form">
      <label for="boardType"> S32G274A-RDB2：
      <input type="submit" id="rdb2_on" value="Power On" class="powerOn_rdb2">
      <input type="submit" id="rdb2_off"  value="Power Off" class="powerOff_rdb2">
      <input type="submit" id="rdb2_reset"  value="Power Reset" class="powerReset_rdb2">
      <label for="RDB2">Result：</label><input type="text" id="RDB2" class="resultField_rdb2">
    </div>

    <div class="form">
      <label for="boardType"> S32G274A-EVB：
      <input type="submit" id="rdb2_on"  value="Power On" class="powerOn_evb">
      <input type="submit"  id="rdb2_on" value="Power Off" class="powerOff_evb">
      <input type="submit" id="rdb2_on"  value="Power Reset" class="powerReset_evb">
      <label for="EVB">Result：</label><input type="text" id="EVB" class="resultField_evb">
    </div>

    <div class="resultParas">
      <p class="guesses"></p>
      <p class="lastResult"></p>
      <p class="lowOrHi"></p>
    </div>

    <script src="smart_switch.js" defer></script>
  </body>
</html>